<extend name="Public:comment" />

<block name="title">管理评论</block>

<block name="css">
	<link rel="stylesheet" href="/Application/Home/Common/css/base.css" type="text/css" />
	<link rel="stylesheet" href="/Application/Home/Common/css/shop_common.css" type="text/css" />
	<link rel="stylesheet" href="/Application/Home/Common/css/shop_header.css" type="text/css" />
	<link rel="stylesheet" href="/Application/Home/Common/css/shop_manager.css" type="text/css" />
	<link rel="stylesheet" href="/Application/Home/Common/css/shop_shdz_835.css" type="text/css" />
	<style>
		.shop_bd_shdz{background:#F8EBD6;width:92%;border-radius:5px;}
		.name{font-size:12px;line-height:40px;}
		.name>img{wdith:40px;height:40px;border-radius:20px;float:left;margin-right:10px;margin-left:5%;}
		.content{font-size:14px;text-indent:2em;padding-left:5%;padding-right:5%;}
		.property{font-size:12px;color:#000;float:left;padding-left:5%;line-height:25px;}
		.ctime{float:right;padding-right:8%;line-height:25px;}
	</style>
</block>

<block name="js">
	<script type="text/javascript" src="/Application/Home/Common/js/jquery.js" ></script>
    <script type="text/javascript" src="/Application/Home/Common/js/topNav.js" ></script>
</block>

<block name="shouye">
	<div id="shop_hd_menu_all_category" class="shop_hd_menu_all_category"><!-- 首页去掉 id="shop_hd_menu_all_category" 加上clsss shop_hd_menu_hover -->
</block>

<block name="content">
	<!-- 面包屑 注意首页没有 -->
	<div class="shop_hd_breadcrumb">
		<strong>当前位置：</strong>
		<span>
			<a href="{:U('Index/index')}">首页</a>&nbsp;›&nbsp;
			<a href="{:U('User/member')}">我的商城</a>&nbsp;›&nbsp;
			<a href="{:U('User/estimate')}">我的评价</a>
		</span>
	</div>
	<div class="clear"></div>
	<!-- 面包屑 End -->

	<!-- Header End -->	

	<!-- 我的个人中心 -->
	<div class="shop_member_bd clearfix">
		<!-- 左边导航 -->
		<div class="shop_member_bd_left clearfix">
			
			<div class="shop_member_bd_left_pic">
				<a href="javascript:void(0);"><img src="/Application/Home/Common/images/avatar.png" /></a>
			</div>
			<div class="clear"></div>

			<dl>
				<dt>我的交易</dt>
				<dd><span><a href="{:U('member')}">已购买商品</a></span></dd>
				<dd><span><a href="{:U('Index/favorite')}">我的收藏</a></span></dd>
				<dd><span><a href="{:U('estimate')}">评价管理</a></span></dd>
			</dl>

			<dl>
				<dt>我的账户</dt>
				<dd><span><a href="{:U('member_info')}">个人资料</a></span></dd>
				<dd><span><a href="{:U('password_edit')}">密码修改</a></span></dd>
				<dd><span><a href="{:U('address')}">收货地址</a></span></dd>
			</dl>

		</div>
		<!-- 左边导航 End -->
		
		<!-- 右边购物列表 -->
		<div class="shop_member_bd_right clearfix">
			
			<div class="shop_meber_bd_good_lists clearfix">
				<div class="title"><h3>管理评论</h3></div>
				<div class="clear"></div>
			<!-- 收货人地址 Title End -->
			<div class="shop_bd_shdz clearfix">
				<foreach name="res" item="v">
					<span class="name"><img src="/Uploads/{$v['pic']}">{$v.name}</span>
					<br>
					<div class="content"><span>{$v.content}</span></div>
					<br>
					<div style="margin-left:50px;">
						<foreach name="v['image']" item="vo">
							<img src="/Uploads/{$vo}" style="width:100px;margin-left:10px;">
						</foreach>
					</div>
					<span class="property">{$v.title} {$v.color} {$v.size} ￥{$v.cost}</span>
					<a href="{:U('estimate_delete',array('id'=>$v['id']))}" style="margin-left:30%;line-height:25px;color:blue">删除评论</a>
					<a href="{:U('estimate_update',array('id'=>$v['id']))}" style="margin-left:10px;color:blue;">修改评论</a>
					<span class="ctime">{$v.ctime|date='Y-m-d H:i:s',###}</span>
				</foreach>
			</div>
			<div class="clear"></div>
			</div>
		</div>
		<!-- 右边购物列表 End -->

	</div>
	<!-- 我的个人中心 End -->
</block>